﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    /// <summary>
    /// 销售明细实体类
    /// </summary>
    public class SaleDetail
    {
        public string SaleID { get; set; }        //销售单编号
        public string SaleDetailID { get; set; }  //销售明细编号
        public string ProductID { get; set; }     //商品编号
        public decimal SalePrice { get; set; }    //销售价格
        public int Quantity { get; set; }         //数量
        public SaleDetail() { }
        public SaleDetail(string saleID,string saleDetailID,string productID,decimal salePrice,int quantity)
        {
            this.SaleID       = saleID;
            this.SaleDetailID = saleDetailID;
            this.ProductID    = productID;
            this.SalePrice    = salePrice;
            this.Quantity     = quantity;
        }
    }
}
